package monopoli.communication;

import java.rmi.Remote;
import java.rmi.RemoteException;
import java.util.ArrayList;

public interface HostMethods extends Remote {


    
    //Metodi RMI chiamati da InitializationServer
    public void rifiutaPartecipaPartita() throws RemoteException;
    
    public void confermaPartecipaPartita(int idOrdine, ArrayList<Player> nextPlayer) throws RemoteException;



    

    //Metodi RMI chiamati da Host
    public Message ping(Message msg) throws RemoteException;

    public Message sendToken(Message msg) throws RemoteException;

    public Message sendMessage(Message msg) throws RemoteException;
    
}